#ifndef __GRAPHICS_FACTORY_H__
#define __GRAPHICS_FACTORY_H__

#include "..\Config\fwDllConfig.h"
#include "..\Config\fwMacro.h"
#include "fwGraphicsContent.h"


typedef enum _DLL_LIB_API _GraphicsType
{
	GLESv2 //OpenGLES version 2
}GraphicsType;

class _DLL_LIB_API GraphicsFactory
{
private:
	static GraphicsContent * m_pLib;
	static GraphicsFactory * m_pInstance;
public:
	GraphicsFactory * GetInstance();
	void DestroyInstance();

	/**
	* Khoi tao thu vien xu ly do hoa se su dung trong chuong trinh
	* @params:
	*	type: Ten thu vien muon khoi tao
	* @output: Con tro thu vien duoc loi tao
	*/
	GraphicsContent * CreateLib(GraphicsType type);
};

#endif